Instead of manually recovering a port that is shutdown by SLPP, you can configure an automatic recovery delay per port. The auto-recover-delay command specifies the minimum amount of time after which the port is brought back up. The maximum amount of time that can pass until the port is brought back up is two times the configured auto-recover-delay value.
By default, automatic recovery is disabled on a port. When enabled, the default delay is 30 seconds.
enable
configure terminal
interface gigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
auto-recover-port enable